package com.raulraja.view.object;

/**
 * View object for exceptions
 */
public abstract class ExceptionSupportVO implements ViewObject {

	/**
	 * the exception message
	 */
	private String exceptionMessage;

	public ExceptionSupportVO () {
		super();	
	}

	public ExceptionSupportVO(Throwable e) {
		super();
		exceptionMessage = e.getLocalizedMessage();
	}

	/**
	 * @return the exception message
	 */
	public String getExcptionMessage() {
		return exceptionMessage;
	}
}
